package net.uhuijia.enums;

public enum ErrorCodeEnum {
	server_error("10001", "服务器开小差啦"),
    param_error("10002", "参数异常"),login_error("10003","身份过期，请重新登入"),
    verifycode_error("10004","验证码不正确"),account_pwd_error("10005","账号密码不正确"),
    wxauth_error("10006","微信授权信息不正确"),
    zb_not_online("10007","主播不在线"),
    good_already_down_error("10008","商品已下架"),
    good_not_have_sku_name_error("10009","商品未设置属性名称"),
    sku_property_name_is_not_exist("10010","属性名称不存在"),
    sku_property_value_is_not_exist("10011","属性值不存在"),
    shop_not_exist_error("10012","店铺不存在"),
    sku_invertory_not_enough_error("10013","库存不足"),
    area_not_exist_error("10014","地区不存在");
    private String code;
    private String msg;

    /**
     * Msg string.
     *
     * @return the string
     */
    public String msg() {
        return msg;
    }

    /**
     * Code int.
     *
     * @return the int
     */
    public String code() {
        return code;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    ErrorCodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }


}
